package com.hands.voice.controller;

import javax.annotation.Resource;

import com.hands.service.VoiceRpcService;
import com.hands.transfercenter.VoiceInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/v1")
public class TestController {

	@Autowired
	private VoiceRpcService voiceRpcService;

	@GetMapping("/voice")
	public String test(String msg) {

		return voiceRpcService.InstructionsVoiceInfo(msg);

	}

}
